package com.four.marketing.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.four.marketing.entity.Bargain;
import com.baomidou.mybatisplus.extension.service.IService;
import com.four.marketing.vo.BargainVo;
import com.github.pagehelper.PageInfo;
import com.guli.common.utils.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 侯新伟
 * @since 2021-12-14
 */
public interface BargainService extends IService<Bargain> {



    R shopList();

    R getShopById(Integer manId);

    IPage<Bargain> getList(Integer page, Integer pageSize, BargainVo vo);

    void saveBargain(Bargain bargain);

    void updateBargain(Bargain bargain);
}
